package com.example.mybatisplus.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "staff")
public class Staff {
    private Integer id;
    private String name;
    private String gender;
    private Integer dept;
    private String deptName;
}
